using System.Collections.Generic;
using System.Windows;
using System.Windows.Markup;

namespace MainView.Windows
{
	public partial class StandardWellNotEnoughWindow : Window, IComponentConnector
	{
		public static readonly DependencyProperty TemplateDatasProperty = DependencyProperty.Register("TemplateDatas", typeof(List<TemplateData>), typeof(StandardWellNotEnoughWindow), new UIPropertyMetadata(null));

		public List<TemplateData> TemplateDatas
		{
			get
			{
				return (List<TemplateData>)GetValue(TemplateDatasProperty);
			}
			set
			{
				SetValue(TemplateDatasProperty, value);
			}
		}

		public StandardWellNotEnoughWindow()
		{
			InitializeComponent();
		}

		private void btnOk_Click(object sender, RoutedEventArgs e)
		{
			base.DialogResult = true;
		}

		private void btnCancel_Click(object sender, RoutedEventArgs e)
		{
			Close();
		}
	}
}
